package game.controller
{
	import game.model.GameModel;
	import game.model.SceneModel;
	import game.view.GameMainView;
	import game.view.ViewBase;

	public class GameController extends ViewBase
	{
		private var _model:GameModel;
		private var _sceneModel:SceneModel;
		private var _gameMainView:GameMainView;
		
		public function GameController()
		{
		}
		
		override public function initialize():void
		{
			super.initialize();
			_model = new GameModel();
			_sceneModel=new SceneModel();
			_gameMainView = new GameMainView(this,_model, _sceneModel);
			_gameMainView.show();
		}
		
		/**
		 *事件设置 
		 */		
		override public function setEvent():void
		{
			super.setEvent();
		}
		
		/**
		 *资源释放 
		 */		
		override public function dispose():void
		{
			super.dispose();
		}
	}
}